Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cargo.toml: enable resolver = "2" #566

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Cargo.toml: enable resolver = "2" #566

merged 1 commit into from
Oct 31, 2023

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Oct 31, 2023

Gets rid of the warning:

warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest

Also prevents spurious feature activation between dependencies/dev-dependencies/build-dependencies

Gets rid of the warning and prevents spurious feature activation between
dependencies/dev-dependencies/build-dependencies
@tarcieri tarcieri merged commit 85ff034 into master Oct 31, 2023
80 checks passed
@tarcieri tarcieri deleted the workspace/resolver-v2 branch October 31, 2023 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant